home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form Calendar
- BackColor = &H00C0C0C0&
- BorderStyle = 1 'Fixed Single
- Caption = "Calendar"
- ClientHeight = 3030
- ClientLeft = 45
- ClientTop = 330
- ClientWidth = 2910
- Icon = "Calendar.frx":0000
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 3030
- ScaleWidth = 2910
- StartUpPosition = 2 'CenterScreen
- Begin VB.CommandButton Command1
- Caption = "Reset"
- Default = -1 'True
- Height = 240
- Left = 2250
- TabIndex = 48
- Top = 135
- Width = 600
- End
- Begin VB.HScrollBar HScroll2
- Height = 375
- Left = 1710
- Max = 1500
- Min = -1500
- TabIndex = 47
- Top = 45
- Width = 420
- End
- Begin VB.HScrollBar HScroll1
- Height = 285
- Left = 1260
- Max = 1500
- Min = -1500
- TabIndex = 45
- Top = 90
- Width = 420
- End
- Begin VB.Label Label4
- Alignment = 2 'Center
- BorderStyle = 1 'Fixed Single
- Caption = "Label4"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00FF0000&
- Height = 285
- Left = 45
- TabIndex = 46
- Top = 495
- Width = 2805
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- BackColor = &H00C0E0FF&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00808000&
- Height = 285
- Index = 36
- Left = 450
- TabIndex = 44
- Top = 2745
- Width = 375
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- BackColor = &H00C0E0FF&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00808000&
- Height = 285
- Index = 35
- Left = 45
- TabIndex = 43
- Top = 2745
- Width = 375
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- BackColor = &H00C0E0FF&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00808000&
- Height = 285
- Index = 34
- Left = 2475
- TabIndex = 42
- Top = 2430
- Width = 375
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- BackColor = &H00C0E0FF&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00808000&
- Height = 285
- Index = 33
- Left = 2070
- TabIndex = 41
- Top = 2430
- Width = 375
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- BackColor = &H00C0E0FF&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00808000&
- Height = 285
- Index = 32
- Left = 1665
- TabIndex = 40
- Top = 2430
- Width = 375
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- BackColor = &H00C0E0FF&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00808000&
- Height = 285
- Index = 31
- Left = 1260
- TabIndex = 39
- Top = 2430
- Width = 375
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- BackColor = &H00C0E0FF&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00808000&
- Height = 285
- Index = 30
- Left = 855
- TabIndex = 38
- Top = 2430
- Width = 375
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- BackColor = &H00C0E0FF&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00808000&
- Height = 285
- Index = 29
- Left = 450
- TabIndex = 37
- Top = 2430
- Width = 375
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- BackColor = &H00C0E0FF&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00808000&
- Height = 285
- Index = 28
- Left = 45
- TabIndex = 36
- Top = 2430
- Width = 375
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- BackColor = &H00C0E0FF&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00808000&
- Height = 285
- Index = 27
- Left = 2475
- TabIndex = 35
- Top = 2115
- Width = 375
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- BackColor = &H00C0E0FF&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00808000&
- Height = 285
- Index = 26
- Left = 2070
- TabIndex = 34
- Top = 2115
- Width = 375
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- BackColor = &H00C0E0FF&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00808000&
- Height = 285
- Index = 25
- Left = 1665
- TabIndex = 33
- Top = 2115
- Width = 375
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- BackColor = &H00C0E0FF&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00808000&
- Height = 285
- Index = 24
- Left = 1260
- TabIndex = 32
- Top = 2115
- Width = 375
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- BackColor = &H00C0E0FF&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00808000&
- Height = 285
- Index = 23
- Left = 855
- TabIndex = 31
- Top = 2115
- Width = 375
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- BackColor = &H00C0E0FF&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00808000&
- Height = 285
- Index = 22
- Left = 450
- TabIndex = 30
- Top = 2115
- Width = 375
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- BackColor = &H00C0E0FF&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00808000&
- Height = 285
- Index = 21
- Left = 45
- TabIndex = 29
- Top = 2115
- Width = 375
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- BackColor = &H00C0E0FF&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00808000&
- Height = 285
- Index = 20
- Left = 2475
- TabIndex = 28
- Top = 1800
- Width = 375
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- BackColor = &H00C0E0FF&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00808000&
- Height = 285
- Index = 19
- Left = 2070
- TabIndex = 27
- Top = 1800
- Width = 375
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- BackColor = &H00C0E0FF&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00808000&
- Height = 285
- Index = 18
- Left = 1665
- TabIndex = 26
- Top = 1800
- Width = 375
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- BackColor = &H00C0E0FF&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00808000&
- Height = 285
- Index = 17
- Left = 1260
- TabIndex = 25
- Top = 1800
- Width = 375
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- BackColor = &H00C0E0FF&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00808000&
- Height = 285
- Index = 16
- Left = 855
- TabIndex = 24
- Top = 1800
- Width = 375
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- BackColor = &H00C0E0FF&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00808000&
- Height = 285
- Index = 15
- Left = 450
- TabIndex = 23
- Top = 1800
- Width = 375
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- BackColor = &H00C0E0FF&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00808000&
- Height = 285
- Index = 14
- Left = 45
- TabIndex = 22
- Top = 1800
- Width = 375
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- BackColor = &H00C0E0FF&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00808000&
- Height = 285
- Index = 13
- Left = 2475
- TabIndex = 21
- Top = 1485
- Width = 375
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- BackColor = &H00C0E0FF&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00808000&
- Height = 285
- Index = 12
- Left = 2070
- TabIndex = 20
- Top = 1485
- Width = 375
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- BackColor = &H00C0E0FF&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00808000&
- Height = 285
- Index = 11
- Left = 1665
- TabIndex = 19
- Top = 1485
- Width = 375
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- BackColor = &H00C0E0FF&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00808000&
- Height = 285
- Index = 10
- Left = 1260
- TabIndex = 18
- Top = 1485
- Width = 375
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- BackColor = &H00C0E0FF&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00808000&
- Height = 285
- Index = 9
- Left = 855
- TabIndex = 17
- Top = 1485
- Width = 375
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- BackColor = &H00C0E0FF&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00808000&
- Height = 285
- Index = 8
- Left = 450
- TabIndex = 16
- Top = 1485
- Width = 375
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- BackColor = &H00C0E0FF&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00808000&
- Height = 285
- Index = 7
- Left = 45
- TabIndex = 15
- Top = 1485
- Width = 375
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- BackColor = &H00C0E0FF&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00808000&
- Height = 285
- Index = 6
- Left = 2430
- TabIndex = 14
- Top = 1170
- Width = 375
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- BackColor = &H00C0E0FF&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00808000&
- Height = 285
- Index = 5
- Left = 2070
- TabIndex = 13
- Top = 1170
- Width = 375
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- BackColor = &H00C0E0FF&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00808000&
- Height = 285
- Index = 4
- Left = 1665
- TabIndex = 12
- Top = 1170
- Width = 375
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- BackColor = &H00C0E0FF&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00808000&
- Height = 285
- Index = 3
- Left = 1260
- TabIndex = 11
- Top = 1170
- Width = 375
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- BackColor = &H00C0E0FF&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00808000&
- Height = 285
- Index = 2
- Left = 855
- TabIndex = 10
- Top = 1170
- Width = 375
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- BackColor = &H00C0E0FF&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00808000&
- Height = 285
- Index = 1
- Left = 450
- TabIndex = 9
- Top = 1170
- Width = 375
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- BackColor = &H00C0E0FF&
- BackStyle = 0 'Transparent
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00808000&
- Height = 285
- Index = 0
- Left = 45
- TabIndex = 8
- Top = 1170
- Width = 375
- End
- Begin VB.Label Label2
- Alignment = 2 'Center
- BorderStyle = 1 'Fixed Single
- Caption = "September"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00FF0000&
- Height = 285
- Left = 45
- TabIndex = 7
- Top = 90
- Width = 1185
- End
- Begin VB.Label Label1
- Alignment = 2 'Center
- BackColor = &H00800080&
- BorderStyle = 1 'Fixed Single
- Caption = "Su"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H0080FF80&
- Height = 285
- Index = 6
- Left = 45
- TabIndex = 6
- Top = 855
- Width = 375
- End
- Begin VB.Label Label1
- Alignment = 2 'Center
- BackColor = &H00800080&
- BorderStyle = 1 'Fixed Single
- Caption = "Sa"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H0080FF80&
- Height = 285
- Index = 5
- Left = 2475
- TabIndex = 5
- Top = 855
- Width = 375
- End
- Begin VB.Label Label1
- Alignment = 2 'Center
- BackColor = &H00800080&
- BorderStyle = 1 'Fixed Single
- Caption = "Fr"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H0080FF80&
- Height = 285
- Index = 4
- Left = 2070
- TabIndex = 4
- Top = 855
- Width = 375
- End
- Begin VB.Label Label1
- Alignment = 2 'Center
- BackColor = &H00800080&
- BorderStyle = 1 'Fixed Single
- Caption = "Th"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H0080FF80&
- Height = 285
- Index = 3
- Left = 1665
- TabIndex = 3
- Top = 855
- Width = 375
- End
- Begin VB.Label Label1
- Alignment = 2 'Center
- BackColor = &H00800080&
- BorderStyle = 1 'Fixed Single
- Caption = "We"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H0080FF80&
- Height = 285
- Index = 2
- Left = 1260
- TabIndex = 2
- Top = 855
- Width = 375
- End
- Begin VB.Label Label1
- Alignment = 2 'Center
- BackColor = &H00800080&
- BorderStyle = 1 'Fixed Single
- Caption = "Tu"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H0080FF80&
- Height = 285
- Index = 1
- Left = 855
- TabIndex = 1
- Top = 855
- Width = 375
- End
- Begin VB.Label Label1
- Alignment = 2 'Center
- BackColor = &H00800080&
- BorderStyle = 1 'Fixed Single
- Caption = "Mo"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H0080FF80&
- Height = 285
- Index = 0
- Left = 450
- TabIndex = 0
- Top = 855
- Width = 375
- End
- Attribute VB_Name = "Calendar"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- Dim date0, date1, date2, date3 As String
- Dim x, first, tel As Integer
- Private Sub Command1_Click()
- HScroll1.Value = 0
- HScroll2.Value = 0
- date0 = DateAdd("m", HScroll1.Value, Date)
- date1 = DateSerial(Format(date0, "yyyy"), Format(date0, "mm"), 1)
- End Sub
- Private Sub Form_Activate()
- date0 = Date
- Command1_Click
- SetDate
- End Sub
- Private Sub SetDate()
- Label2.Caption = UCase(Format(date0, "mmmm"))
- Calendar.Caption = Format(date0, " yyyy")
- For x = 0 To 36
- Label3(x).Visible = False
- Label3(x).ForeColor = RGB(0, 96, 64)
- Label3(x).BorderStyle = 0
- Next x
- first = Val(Format(date1, "w")) - 1
- date2 = date1: tel = 0
- For x = first To 36
- date2 = DateAdd("d", tel, date1)
- If DateDiff("m", date1, date2) > 0 Then Exit For
- Label3(x).Caption = Day(date2)
- Label3(x).Visible = True
- tel = tel + 1
- Next x
- If date0 = Date Then
- Label4.Caption = Format(Date, "dddd, dd mmmm yyyy")
- For x = 0 To 36
- If Label3(x).Caption = Day(Date) Then
- Label3(x).ForeColor = vbRed
- Label3(x).BorderStyle = 1
- Exit For
- End If
- Next x
- End If
- End Sub
- Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
- Cancel = True
- Calendar.Left = 2100
- Credits.Show 1
- End Sub
- Private Sub HScroll1_Change()
- date0 = DateAdd("m", (HScroll2.Value * 12) + HScroll1.Value, Date)
- date1 = DateSerial(Format(date0, "yyyy"), Format(date0, "mm"), 1)
- SetDate
- End Sub
- Private Sub HScroll2_Change()
- date0 = DateAdd("m", (HScroll2.Value * 12) + HScroll1.Value, Date)
- date1 = DateSerial(Format(date0, "yyyy"), Format(date0, "mm"), 1)
- SetDate
- End Sub
-